#ifndef MYSERVERCLIENT_H
#define MYSERVERCLIENT_H

#include "myserver.h"

class MyServerClient : public MyServer
{
    Q_OBJECT
public:
    /**
     * @brief 获取单例对象
     * @return
     */
    static MyServerClient *getObject();
    /**
     * @brief 数组帧处理
     * @param data
     */
    virtual void handleFrame(const QByteArray &data, int src);

protected:
    static MyServerClient *obj;

};

#endif // MYSERVERCLIENT_H
